package com.ericsson.enap.modules.ossalarm.job.ims;

import com.ericsson.common.quartz.job.MainJob;
import com.ericsson.enap.modules.ossalarm.task.ims.OssFromNMSAlarmTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * IMS 经NMS转发的OSS告警
 * @author yanghai
 */
@Component
public class OssFromNMSAlarmJob implements MainJob {
    @Autowired
    OssFromNMSAlarmTask ossFromNMSAlarmTask;
    String jobName="ossFromNMSAlarmJob";
    @Override
    public void doTask() {
        System.out.println("OssFromNMSAlarmJob start.....");
        ossFromNMSAlarmTask.execute();
    }
}
